package cn.itsource.exam.mapper;

import cn.itsource.exam.domain.TeacherType;
import cn.itsource.exam.query.TeacherTypeQuery;
import cn.itsource.exam.util.AjaxResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherTypeMapper  {

    Long selectCountByQuery(TeacherTypeQuery query);

    List<TeacherType> selectByQuery(TeacherTypeQuery query);

    void batchDelete(Long[] ids);

    void insert(TeacherType teacherType);

    void update(TeacherType teacherType);

    void delete(Long id);
}
